home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
editor
/
editor2
/
hsc.lha
/
hsc
/
src_docs
/
bugs.hsc
< prev
next >
Wrap
Text File
|
1996-12-04
|
4KB
|
92 lines
<WEBPAGE chapter="hsc - " title="Known Bugs, Problems and Limitations"
PREV="source.html"
NEXT="future.html"
QTEXT=("So we keep putting our trust in things that rust<BR>"
+"And then we feel the pain of loss")
QAUTHOR='James, "Stripmining"'>
<H2>Known bugs</H2>
The problems below should be fixed.. sometimes.
<UL>
<LI>For missing end-tags, the position of the last occurence of the
start-tag with the same name is reported as correspondig
start-tag.
<LI><CODE>exists()</CODE> does not work for absolute URIs
<LI>There seems to be a problem with <CODE>GETSIZE</CODE> for
machines based on CPUs that do not support networking byte order
(like those from wIntel).
<LI>I'm still not sure, if <CODE>GETSIZE</CODE> for JFIF/JPEG can handle
everything correct - but hopefully it does. I've really never seen
such an idiotic, braindead, ill-minded and chaoticly structured
image-format before.
</UL>
<H2>Known problems (to be fixed)</H2>
The problems below are no real bugs and should be fixed.. sometimes.
<UL>
<LI>Most NEXT and PREV buttons of the docs don't fit; I just wanted to
show how to create a navigation bar, but I'm too lazy to maintain it
while the structure of the documention isn't fixed.
<LI>As I know myself, these documents still contain loads of typos and
<qq>strange english</qq>..
</UL>
<H2>Known problems</H2>
The problems described below probably won't ever be fixed.
<UL>
<LI>URI checking is performed via trying to open a file. As AmigaOS
is case-insensitive dealing with filenames, problems might
occure when copying the html-object-tree to a case-sensitive
filesystem. I recommend to rebuild the whole project at the
target system.
<LI>If you specify a <TG>BASE HREF=".."</TG>, <hsc> is unable to
find out how the base is related to the destination-directory
and will treat all local URIs like external ones; Absolute URIs
aren't possible with a base-URI set, of course.
<LI>The obsolete tags <TG>LISTING</TG> and <TG>XMP</TG> might not be
treated correctly, as the behavior of these two seems so be not
very strickly definded. You should avoid them anyway and use
<TG>PRE</TG> or <TG>$source</TG> instead.
<LI><hsc> doesn't care much about filenames and their limitations;
if, for example, a filename gets too long, it depends on
<CODE>fopen()</CODE> of your compiler whether an error is reported
or the filename
is truncated. If you insist on filenames containig 46587643
characters, <hsc> can cope with it - but your OS probably won't.
<LI>Out-of-memory can cause small memory-leaks. This is because <hsc>
uses a special <CODE>malloc()</CODE>-function
which just displays an error message and quits using
<CODE>exit()</CODE>. As <hsc> keeps track of all allocated resources,
it will release everything that could be fully initialised and made
it into its supposed resource-list. For out-of-memories during
partially initialising complex structures, this failes and can
cause memory-leaks (normally approx. 100-500 bytes). Usually, these
are handled by your OS or, as for AmigaOS, by the
<CODE>malloc()</CODE>-function of the run-time-library, so you
shouldn't bother too much about that. Blame K&R for their braindamaged
memory-managment concepts.
<LI><CODE>GetFileSize()</CODE> probalbly won't work correctly on
files greater than 2 GB.
<LI>Until now I couldn't test <hsc> on some 64-bit OS, so problems
might occure if data leave 32-bit address-space.
</UL>
<H2>Limitations</H2>
<P><hsc> is fully dynamic and it's input size, numer of syntax-elements
and etc. is only limited by memory and disk-space. Only some less important
status messages are created in classic, braindead zero-terminated
C-character-arrays and are truncated if they become too long.</P>
<P>However, for projects larger 500 documents, scanning the project-file on
every run takes an awful lot of time; due the lack of any portable
concept of keeping data resident after a program exits, there is
no workaround for this (same problem like with <hsc.prefs>); you
will have to get rid of the project-file and <hscdepp> for such
projects.</P>
</WEBPAGE>